﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Web.Generics;
using BolaoDNA.DomainModel;

namespace BolaoDNA.WebMvc.Areas.Admin.ViewModels
{
	public partial class BolaoViewModel : GenericViewModel<Bolao>
	{
        public BolaoViewModel()
        {
            this.PalpitesFuturos = new List<Palpite>();
            this.PalpiteSalvo = false;
        }

        public Boolean PalpiteSalvo { get; set; }

		public SelectList CompeticaoList {
			get { return base.SelectLists["Competicao"]; }
			set { base.SelectLists["Competicao"] = value; }
		}
		public Int32 Competicao_ID {
            get { return base.Instance.Competicao.ID; }
            set { base.SelectListValues["Competicao"] = base.Instance.Competicao.ID = value; }
        }

        public String Participante { get; set; }
        public Int32 Pontos { get; set; }
        
        public Boolean IsParticipante { get; set; }

        public IList<Palpite> PalpitesFuturos { get; set; }
	}
}
